<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:comps="http://java.sun.com/jsf/composite/components">
	
<h:body>
		
	<ui:composition template="/resources/templates/mainTemplate.xhtml">
		
		<ui:define name="conteudo">
			
			<h:panelGroup layout="block" styleClass="conteudoInicio">
			
				<h:panelGroup layout="block" styleClass="container">
				
					<h:panelGrid columns="2" width="100%" 
						columnClasses="
							gridVerticalAlignTop columnCentro, 
							gridVerticalAlignTop columnDireita">
						
											
						<h:panelGroup style="vertical-align: top;">
							
							<f:facet name="header">
								<h:outputText value="#{locale['sistema.paginaInicial.panels.sobre']}" />
							</f:facet>						
							
							<p:panel styleClass="pnlContato">
								<f:facet name="header">
									<h:outputText value="Contato" />
								</f:facet>
							
							<h:form>
								<h:panelGrid columns="1">
									<p:outputLabel for="contEmail" value="E-Mail:" />
									<p:inputText id="contEmail" value="#{ContatoBean.email}" styleClass="contatoForm" />
									<p:outputLabel for="contAssunto" value="Assunto:" />
									<p:inputText id="contAssunto" value="#{ContatoBean.assunto}" styleClass="contatoForm" />
									<p:outputLabel for="contMensagem" value="Mensagem:" />
									<p:inputTextarea id="contMensagem" rows="10" value="#{ContatoBean.mensagem}" styleClass="contatoForm" />
									<p:spacer height="10px;"/>
									<p:commandButton value="Enviar" action="#{ContatoBean.enviarEmailContato()}" />
								</h:panelGrid>
							</h:form>
							</p:panel>
							
						</h:panelGroup>
						
						<ui:include src="/resources/templates/conteudoRightSideTemplate.xhtml" />
					
					</h:panelGrid>
		
				</h:panelGroup>
			
			</h:panelGroup>
				
		</ui:define>
		
	</ui:composition>
										
</h:body>

</html>